package com.ruoyi.service.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 购物车对象 service_mycart
 * 
 * @author ZDL
 * @date 2024-12-20
 */
public class ServiceMycart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车主键ID */
    private Long mycartId;

    /** 购物车用户ID */
    @Excel(name = "购物车用户ID")
    private Long mycartUserid;

    /** 购物车服务项目ID */
    @Excel(name = "购物车服务项目ID")
    private Long mycartItemid;

    /** 购物车套餐ID */
    @Excel(name = "购物车套餐ID")
    private Long mycartComboid;

    /** 购物车耗材包ID */
    @Excel(name = "购物车耗材包ID")
    private Long mycartPackageid;

    /** 服务项目数量 */
    @Excel(name = "服务项目数量")
    private String mycartNum;

    /** 本条总花费 */
    @Excel(name = "本条总花费")
    private Long mycartCost;

    /** 创建者 */
    @Excel(name = "创建者")
    private String mycartCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mycartCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String mycartUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mycartUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String mycartUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String mycartDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String mycartRemark;

    public void setMycartId(Long mycartId) 
    {
        this.mycartId = mycartId;
    }

    public Long getMycartId() 
    {
        return mycartId;
    }
    public void setMycartUserid(Long mycartUserid) 
    {
        this.mycartUserid = mycartUserid;
    }

    public Long getMycartUserid() 
    {
        return mycartUserid;
    }
    public void setMycartItemid(Long mycartItemid) 
    {
        this.mycartItemid = mycartItemid;
    }

    public Long getMycartItemid() 
    {
        return mycartItemid;
    }
    public void setMycartComboid(Long mycartComboid) 
    {
        this.mycartComboid = mycartComboid;
    }

    public Long getMycartComboid() 
    {
        return mycartComboid;
    }
    public void setMycartPackageid(Long mycartPackageid) 
    {
        this.mycartPackageid = mycartPackageid;
    }

    public Long getMycartPackageid() 
    {
        return mycartPackageid;
    }
    public void setMycartNum(String mycartNum) 
    {
        this.mycartNum = mycartNum;
    }

    public String getMycartNum() 
    {
        return mycartNum;
    }
    public void setMycartCost(Long mycartCost) 
    {
        this.mycartCost = mycartCost;
    }

    public Long getMycartCost() 
    {
        return mycartCost;
    }
    public void setMycartCreateBy(String mycartCreateBy) 
    {
        this.mycartCreateBy = mycartCreateBy;
    }

    public String getMycartCreateBy() 
    {
        return mycartCreateBy;
    }
    public void setMycartCreateTime(Date mycartCreateTime) 
    {
        this.mycartCreateTime = mycartCreateTime;
    }

    public Date getMycartCreateTime() 
    {
        return mycartCreateTime;
    }
    public void setMycartUpdateBy(String mycartUpdateBy) 
    {
        this.mycartUpdateBy = mycartUpdateBy;
    }

    public String getMycartUpdateBy() 
    {
        return mycartUpdateBy;
    }
    public void setMycartUpdateTime(Date mycartUpdateTime) 
    {
        this.mycartUpdateTime = mycartUpdateTime;
    }

    public Date getMycartUpdateTime() 
    {
        return mycartUpdateTime;
    }
    public void setMycartUseFlag(String mycartUseFlag) 
    {
        this.mycartUseFlag = mycartUseFlag;
    }

    public String getMycartUseFlag() 
    {
        return mycartUseFlag;
    }
    public void setMycartDelFlag(String mycartDelFlag) 
    {
        this.mycartDelFlag = mycartDelFlag;
    }

    public String getMycartDelFlag() 
    {
        return mycartDelFlag;
    }
    public void setMycartRemark(String mycartRemark) 
    {
        this.mycartRemark = mycartRemark;
    }

    public String getMycartRemark() 
    {
        return mycartRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mycartId", getMycartId())
            .append("mycartUserid", getMycartUserid())
            .append("mycartItemid", getMycartItemid())
            .append("mycartComboid", getMycartComboid())
            .append("mycartPackageid", getMycartPackageid())
            .append("mycartNum", getMycartNum())
            .append("mycartCost", getMycartCost())
            .append("mycartCreateBy", getMycartCreateBy())
            .append("mycartCreateTime", getMycartCreateTime())
            .append("mycartUpdateBy", getMycartUpdateBy())
            .append("mycartUpdateTime", getMycartUpdateTime())
            .append("mycartUseFlag", getMycartUseFlag())
            .append("mycartDelFlag", getMycartDelFlag())
            .append("mycartRemark", getMycartRemark())
            .toString();
    }
}
